Ubuntu allow root login
- 开启su 登录
sudo passwd root
- ssh 登录开启
- 安装ssh 服务
apt-get install openssh-server
vi /etc/ssh/sshd_config
# 2. Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes
Select a result to preview
sudo passwd root
apt-get install openssh-server
vi /etc/ssh/sshd_config
# 2. Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes